/**
 * @License: (C) Copyright 2013-2022
 * @Contact: abcque@outlook.com
 * @IDE: IntelliJ IDEA
 * @Encoding: utf-8
 * @Project: st2214st2215
 * @Package: PACKAGE_NAME
 * @File: NonGenTest.java
 * @Time: 2023/4/11 14:13
 * @Author: abcque
 * @Description: 相同的代码不是每次都能执行成功。
 * @Modifier:
 * @ModifyDate:
 * @ModifyRemark:
 */
public class NonGenTest {
    public static void main(String[] args) {
        NonGen nonGen;
        nonGen = new NonGen(66);
        nonGen.showType();

        int i = (int) nonGen.getObject();
        System.out.println("i = " + i);

        nonGen = new NonGen("Hello, World!");
        nonGen.showType();
        int j = (int) nonGen.getObject();
        System.out.println("j = " + j);
    }
}
